package cn.edu.eight.food.dao;


import cn.edu.eight.food.model.OfNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OfNoticeMapper {
    int insert(OfNotice record);

    int insertSelective(OfNotice record);

    List<OfNotice> noticeList(@Param("title") String title);

    //删除公告信息
    int deleteNotice(@Param("noticeId") String noticeId);

    //修改公告信息
    int updateNotice(OfNotice record);
}